package com.lf.easyapi.controller;

import java.util.Date;

import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.lf.easyapi.util.DateUtil;


@Controller
public class TestController {
	
	
	@RequestMapping(value="/test")
	public @ResponseBody String test(){
		System.out.println("测试请求成功...");
		return String.format("当前服务器时间 ： %s , 测试请求成功...", DateUtil.dateToDateString(new Date()));
	}
	
	public @ResponseBody String testBase(){
		
		
		return "";
	}
	
	
}
